package ucm;

import model.Sale;

/**
 * UCSetPromotion
 *
 * Goal: Set Promotion
 * Primary Actor: User
 * Precondition: Connected to database. Manager is logged on.
 * Postcondtion: Promotion is updated
 * 
 * @author Tobias Robinson
 */
public class UCSetPromotion {

    public UCSetPromotion() {
        run();
    }

    /**
     * 1. Actor selects edit Promotion.
     * 2. The system requests the actor to enter promotion info.
     * 4. System verifies user input.
     * 5. System updates promotion on database.
     * 6. System notifies actor pomotion has been modified.
     */
    public void run() {
        Sale.loadPromotionView();
    }
}
